package com.mhuang.module.common.model;

import java.io.Serializable;

public class Message<T> implements Serializable{

	private static final long serialVersionUID = 1L;

	private String info;
	
	private String status;
	
	private Object obj;
	
	private String token = "";
	
	private Object other;
	
	public Message(){
		
	}
	
	public Message(String info,String status){
		this.info = info;
		this.status = status;
	}
	
	public static Message getMessage(String status,String info){
		return new Message(info,status);
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Object getOther() {
        return other;
    }

    public void setOther(Object other) {
        this.other = other;
    }
}
